﻿using hfcloud.Context;
using hfcloud.Models;
using Microsoft.AspNetCore.Components;

namespace hfcloud.Pages.Accounts.AccountManager;

public partial class AccountManager()
{
  [Inject]MysqlDbContext dbContext { get; set; }
  public List<Account> Accounts { get; set; }
  protected override void OnInitialized()
  {
    Accounts = dbContext.account.ToList();
    base.OnInitializedAsync();
  }
}